import React, { Component } from 'react'
import { connect } from 'dva'
import PageHeaderLayout from '../../layouts/PageHeaderLayout';
import {Card, Form} from 'antd'

@connect(state => {
    const{articles:{entities}} = state
    return entities
})
class EditArticle extends Component {
   render() {

    const itemLayout = {
        labelCol:{
            xs: {span:24},
            sm: {span:7},
        },

        wrapperCol:{
            xs: {span:24},
            sm: {span:17}
        },
    }

       return (
            <PageHeaderLayout>
                <Card>
                    <Form>
                        <Form.Item {...itemLayout} label="标题">
                            
                        </Form.Item>
                    </Form>
                </Card>
            </PageHeaderLayout>
       )
   }
}

export default EditArticle